<?php
$username =$_REQUEST["username"];
$password =$_REQUEST["password"];
$modTime =$_REQUEST["time"];
$identity =$_REQUEST["id"];
// echo $_REQUEST['id'];
// echo "$modTime";
// echo "$identity";

$mysql =new mysqli("localhost","root","","pengdandan");
$mysql->query("set names utf8");
$sql ="INSERT INTO heibing (username,password,id,modTime) VALUES('{$username}','{$password}','{$identity}','{$modTime}')";

$result=$mysql->query($sql);
if ($result) {
  echo "恭喜注册成功，请登陆";
}else {
  echo "注册失败";
}




















 ?>
